package com.qiaofang.housewarehouse.stub.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 出售房屋查询条件
 */
@ApiModel(value = "出售房屋查询条件")
public class SaleHouseQueryRequest extends CommonRequest {

	@NotBlank(message = "城市 不能为空")
	@ApiModelProperty(value = "城市 (不能为空)")
	private String city;

	@ApiModelProperty(value = "（区域）城市区县")
	private String region;

	@ApiModelProperty(value = "(板块) 商圈")
	private String district;

	@ApiModelProperty(value = "户型")
	private String houseType;

	@ApiModelProperty(value = "装修")
	private String decoration;

	@ApiModelProperty(value = "面积区间[start]")
	private String startRoomArea;
	@ApiModelProperty(value = "面积区间[end]")
	private String endRoomArea;

	@ApiModelProperty(value = "总价区间[start]")
	private String startSellPrice;
	@ApiModelProperty(value = "总价区间[end]")
	private String endSellPrice;

	@ApiModelProperty(value = "楼层区间[start]")
	private String startFloor;
	@ApiModelProperty(value = "楼层区间[end]")
	private String endFloor;

	@ApiModelProperty(value = "年代区间[start]")
	private String startYear;
	@ApiModelProperty(value = "年代区间[end]")
	private String endYear;

	@ApiModelProperty(value = "关键字[小区]")
	private String keywords;
	@ApiModelProperty(value = "手机号黑名单, 手机号用逗号隔开")
	private String contactMobiles;
	@ApiModelProperty(value = "小区名称列表, 小区名称用逗号隔开")
	private String estates;

	@NotNull(message = "分页记录数 不能为空")
	@ApiModelProperty(value = "分页记录数 (不能为空)")
	private String pageSize;

	@NotNull(message = "分页索引 不能为空")
	@Min(value = 1,message = "分页索引不能小于1")
	@ApiModelProperty(value = "分页索引 (不能为空、分页索引不能小于1)")
	private String pageIndex;

	public String getEstates() {
		return estates;
	}

	public void setEstates(String estates) {
		this.estates = estates;
	}

	public String getContactMobiles() {
		return contactMobiles;
	}

	public void setContactMobiles(String contactMobiles) {
		this.contactMobiles = contactMobiles;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getHouseType() {
		return houseType;
	}

	public void setHouseType(String houseType) {
		this.houseType = houseType;
	}

	public String getDecoration() {
		return decoration;
	}

	public void setDecoration(String decoration) {
		this.decoration = decoration;
	}

	public String getStartRoomArea() {
		return startRoomArea;
	}

	public void setStartRoomArea(String startRoomArea) {
		this.startRoomArea = startRoomArea;
	}

	public String getEndRoomArea() {
		return endRoomArea;
	}

	public void setEndRoomArea(String endRoomArea) {
		this.endRoomArea = endRoomArea;
	}

	public String getStartSellPrice() {
		return startSellPrice;
	}

	public void setStartSellPrice(String startSellPrice) {
		this.startSellPrice = startSellPrice;
	}

	public String getEndSellPrice() {
		return endSellPrice;
	}

	public void setEndSellPrice(String endSellPrice) {
		this.endSellPrice = endSellPrice;
	}

	public String getStartFloor() {
		return startFloor;
	}

	public void setStartFloor(String startFloor) {
		this.startFloor = startFloor;
	}

	public String getEndFloor() {
		return endFloor;
	}

	public void setEndFloor(String endFloor) {
		this.endFloor = endFloor;
	}

	public String getStartYear() {
		return startYear;
	}

	public void setStartYear(String startYear) {
		this.startYear = startYear;
	}

	public String getEndYear() {
		return endYear;
	}

	public void setEndYear(String endYear) {
		this.endYear = endYear;
	}

	public String getPageSize() {
		return pageSize;
	}

	public void setPageSize(String pageSize) {
		this.pageSize = pageSize;
	}

	public String getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(String pageIndex) {
		this.pageIndex = pageIndex;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
}
